import type { App } from 'vue';
// import { Icon } from './Icon';
import {
  // Need
  Button,
  Input,
  Layout,
  Form,
  Menu,
  Breadcrumb,
  Row,
  Col,
  Table,
  Divider,
  Tag,
  Select,
  Modal,
  Transfer,
  Pagination,
  Popconfirm,
  InputNumber,
  Radio,
  Switch,
  Tabs,
} from 'ant-design-vue';

export function registerGlobComp(app: App) {
  app
    .use(Input)
    .use(Button)
    .use(Layout)
    .use(Form)
    .use(Menu)
    .use(Breadcrumb)
    .use(Row)
    .use(Col)
    .use(Table)
    .use(Divider)
    .use(Tag)
    .use(Select)
    .use(Modal)
    .use(Pagination)
    .use(Transfer)
    .use(Popconfirm)
    .use(InputNumber)
    .use(Radio)
    .use(Switch)
    .use(Tabs);
}
